package com.gtjy.maven;

public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		try {
			MavenRegister mavenRegister = new MavenRegister();
			mavenRegister.setMvnHomePath("C:\\apache-maven-3.0.5\\bin");
			mavenRegister.put(new Artifact("org.krysalis", "barcode4j", "2.1.0", "c:\\barcode4j-2.1.0.jar"));
			mavenRegister.doRegister();
		} catch (Throwable e) {
			e.printStackTrace();
		}
	}

}
